package com.tj.collection.controller.chatter.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@Data
@ApiModel(value = "chatterDetailRequest", description = "获取chatter详细信息请求参数")
public class ChatterDetailRequest implements Serializable {

    @ApiModelProperty("chatter code")
    private String chatterCode;

    public Map<String, Object> setUpQueryParams(@RequestBody ChatterDetailRequest request) {

        Map<String, Object> params = new HashMap<>();
        params.put("chatterCode", request.getChatterCode());
        return params;
    }

}
